
<%@ page import="taxi.Tipotaxi"%>
<!DOCTYPE html>
<html>
<head>
<meta name="layout" content="main">
<g:set var="entityName"
	value="${message(code: 'tipotaxi.label', default: 'Tipotaxi')}" />
<title><g:message code="default.list.label" args="[entityName]" /></title>
</head>
<body>
	<a href="#list-tipotaxi" class="skip" tabindex="-1"><g:message
			code="default.link.skip.label" default="Skip to content&hellip;" /></a>
	<div class="nav" role="navigation">
		<ul>
			<!--  <li><a class="home" href="${createLink(uri: '/')}"><g:message
						code="default.home.label" /></a></li>-->
			<li><g:link class="create" action="create">
					<g:message code="default.new.label" args="[entityName]" />
				</g:link></li>
		</ul>
	</div>
	<div id="list-tipotaxi" class="content scaffold-list" role="main">
		<h1>
			<g:message code="default.list.label" args="[entityName]" />
		</h1>
		<g:if test="${flash.message}">
			<div class="message" role="status">
				${flash.message}
			</div>
		</g:if>
		<table>
			<thead>
				<tr>
					<g:sortableColumn property="carro"
						title="${message(code: 'tipotaxi.carro.label', default: 'Carro')}" />

					<g:sortableColumn property="quantidadeLugares"
						title="${message(code: 'tipotaxi.quantidadeLugares.label', default: 'Quantidade de Lugares')}" />

					<g:sortableColumn property="observacao"
						title="${message(code: 'tipotaxi.observacao.label', default: 'Observação')}" />

					<g:sortableColumn property="arCondicionado"
						title="${message(code: 'tipotaxi.arCondicionado.label', default: 'Ar condicionado')}" />

					<g:sortableColumn property="deficienteFisico"
						title="${message(code: 'tipotaxi.deficienteFisico.label', default: 'Deficiente Físico')}" />
						
					<g:sortableColumn property="malaMao"
						title="${message(code: 'tipotaxi.malaMao.label', default: 'Mala de mão')}" />
						
					<g:sortableColumn property="malaCarrinho"
						title="${message(code: 'tipotaxi.malaCarrinho.label', default: 'Mala de carrinho')}" />

				</tr>
			</thead>
			<tbody>
				<g:each in="${tipotaxiInstanceList}" status="i"
					var="tipotaxiInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">

						<td><g:link action="show" id="${tipotaxiInstance.id}">
								${fieldValue(bean: tipotaxiInstance, field: "carro")}
							</g:link></td>

						<td>
							${fieldValue(bean: tipotaxiInstance, field: "quantidadeLugares")}
						</td>

						<td>
							${fieldValue(bean: tipotaxiInstance, field: "observacao")}
						</td>
						<td>
							${fieldValue(bean: tipotaxiInstance, field: "arCondicionado")}
						</td>
						<td>
							${fieldValue(bean: tipotaxiInstance, field: "deficienteFisico")}
						</td>
						<td>
							${fieldValue(bean: tipotaxiInstance, field: "malaMao")}
						</td>
						<td>
							${fieldValue(bean: tipotaxiInstance, field: "malaCarrinho")}
						</td>

					</tr>
				</g:each>
			</tbody>
		</table>
		<p align="center">
			<a href="http://localhost:8080/taxi/cliente/admin">Voltar</a>
		</p>
		<g:link class=""></g:link>
		<p align="center">
			<a href="search">Consultar</a>
		</p>
		<div class="pagination">
			<g:paginate total="${tipotaxiInstanceTotal}" />
		</div>
	</div>
</body>
</html>
